home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / patches / _30xptch / cpq16m / cpq16mb.doc next >
Text File  |  1996-07-10  |  9KB  |  264 lines

  1.  
  2.                                
  3.     CPQ16MB                           
  4.     14 March 1990                       
  5.     Copyright (C) 1990 Compaq Computer Corporation 
  6.     All rights Reserved.                   
  7.  
  8.  
  9.  
  10. INTRODUCTION:
  11.  
  12. CPQ16MB is a TSR program designed to allow users of Novell NetWare
  13. 386 version 3.0 the ability to access more than 16 Megabytes of RAM. 
  14. Currently, version 3.0 does not use memory above 16 Megabytes, and
  15. thus that memory was effectively wasted.  With the introduction of
  16. computers using the Extended Industry Standard Architecture (EISA)
  17. architecture the 16 Megabyte barrier has been lifted.
  18.  
  19. This program loads itself as a DOS extension, and requires
  20. approximately 500 bytes of memory.
  21.  
  22.  
  23.  
  24. REQUIREMENTS:
  25.  
  26. The following list of equipment/software is needed in order to use
  27. this patch:
  28.  
  29.     o NetWare 386 version 3.0
  30.     o A Compaq 386/486 Computer
  31.     o 16 Megabytes of RAM or more
  32.     o a copy of CPQ16MB.EXE
  33.  
  34.  
  35.  
  36. USAGE:
  37.  
  38. The easiest way to use CPQ16MB is too include it in your AUTOEXEC.BAT
  39. file, and have DOS automatically install it at system initialization
  40. time.
  41.  
  42. The following is a sample AUTOEXEC.BAT file which will load CPQ16MB and
  43. then start the NetWare server.
  44.  
  45.     @ECHO OFF
  46.     C:\CPQ16MB\CPQ16MB
  47.     C:\NOVELL\SERVER
  48.  
  49. This sample batch file assumes that:
  50.  
  51.     1. CPQ16MB.EXE is stored in a directory named CPQ16MB on the
  52.        C: drive and
  53.     2. The NetWare 386 software is stored in a directory called
  54.        NOVELL on the C: drive.
  55.  
  56.     These commands will have to be adjusted to fit your specific
  57.     system.
  58.     
  59.  
  60. The CPQ16MB program will display a welcome message when loaded.  Once
  61. the program is loaded, NetWare 386 version 3.0 will be capable of
  62. accessing more than 16 Megabytes of RAM.  CPQ16MB will make all
  63. contiguous memory above 1 Megabyte availble to NetWare. 
  64.  
  65.  
  66.  
  67. WHO SHOULD USE CPQ16MB:
  68.  
  69. CPQ16MB is intended for users of NetWare 386 version 3.0 who have in
  70. excess of 16 Megabytes of RAM on their file server.
  71.  
  72. Please refer to the Compaq Technical Reference Guide (see the chapter
  73. on Memory and Memory Expansion) for a complete discussion of memory
  74. usage and mapping.
  75.  
  76. This program will work with both (EISA) machines (Compaq SystemPro,
  77. Compaq Deskpro 486), as well as Industry Standard Architecture (ISA)
  78. machines (Compaq Deskpro 386 family).  There is no benefit from using
  79. this program on systems with less than 16 Megabytes of RAM. 
  80.  
  81. This program is not designed to work in environments other than
  82. NetWare 386 version 3.0.
  83.  
  84.  
  85. THEORY OF OPERATION:
  86.  
  87. The following memory map will help to illustrate some of the topics
  88. discussed below.
  89.  
  90.  
  91. Address:
  92.  
  93.    256M        ┌───────────────────────────────────┐   
  94.         │                    │ FFFFFFFh
  95.         │       Super Extended Memory    │
  96.         │           245,760K (Max)        │
  97.         │           240 Meg        │
  98.         │     (1000000h to FFFFFFFh)    │
  99.         │                    │  1000000h
  100.   16M        ├───────────────────────────────────┤   
  101.         │                    │  FFFFFFh
  102.         │          Write protected RAM    │
  103.         │      (System Use -- Shadow ROM)    │
  104.         │                128K        │
  105.         │       (FE0000h to FFFFFFh)        │
  106.         │                    │  FE0000h
  107.         ├───────────────────────────────────┤   
  108.         │                    │  FDFFFFh
  109.         │   Compaq Built in Memory    (BIM)    │
  110.         │               256K        │
  111.         │      (FA0000h to FDFFFFh)        │
  112.         │                    │  FA0000h
  113.         ├───────────────────────────────────┤   
  114.         │                    │  F9FFFFh
  115.         │          Extended Memory        │
  116.         │           14,976K (Max)        │
  117.         │       (100000h to F9FFFFh)        │
  118.         │                    │  100000h
  119.   1M        ├───────────────────────────────────┤   
  120.         │                    │  FFFFFh
  121.         │             ROM Space        │
  122.         │           256K            │
  123.         │       (C0000h to FFFFFh)        │
  124.         │                    │  C0000h
  125.   1M        ├───────────────────────────────────┤   
  126.         │                    │  BFFFFh
  127.         │          Video RAM Space        │
  128.         │           128K            │
  129.         │       (A0000h to BFFFFh)        │
  130.         │                    │  A0000h
  131.   640K        ├───────────────────────────────────┤   
  132.         │                         │  9FFFFh
  133.         │      DOS Conventional Memory    │
  134.         │              640K (Max)        │
  135.         │          (0h to 9FFFFh)        │
  136.         │                    │
  137.    0        └───────────────────────────────────┘   0h
  138.  
  139.  
  140.  
  141.  
  142. NetWare 386 uses BIOS Int 15h, Fcn 88h to determine the amount of
  143. extended RAM available.  This function returns the amount of memory
  144. between 1 Megabyte and 16 Megabytes (inclusive) in the lower 16 bits 
  145. of the processor's EAX register, or the AX register.  NetWare 386 is
  146. expecting the number of Kbytes to be returned in the entire EAX
  147. register.  By intercepting the Int 15h, Fcn 88h requests, the EAX
  148. register can be loaded with the amount of memory above the 1 Megabyte
  149. address.  This gives a theoretical limit of 4 Gigabytes, however
  150. 256 Megabytes is most memory a Compaq machine can address (Compaq
  151. SystemPro).
  152.  
  153. In order for the memory to be contiguous certain other actions must
  154. take place first.  On Compaq 386 and 486 systems, there are 384 Kbytes
  155. of RAM located just below the 16 Megabyte boundary. This memory is
  156. broken into two parts: the upper 128 Kbytes is reserved for system
  157. usage, and the remaining 256 Kbytes is the Compaq Built In Memory (or
  158. BIM).  The upper 128 Kbytes, which can be write protected, is used to
  159. hold a copy of the system ROMs and video ROMs to allow high speed
  160. access. The BIM is used by programs like CEMM, VDISK, CACHE and
  161. others.  It allows such programs to allocate data and/or code in high
  162. memory and not waste memory normally used by DOS.  These programs, or
  163. any program which loads itself in extended memory, should NOT be used
  164. with this program or with NetWare 386. 
  165.  
  166. Since all memory must be contiguous for NetWare 386 to work properly,
  167. the BIM area must not be in use, and 128 Kbyte system area must be
  168. reclaimed and write enabled (see Compaq Technical Reference Guide, in
  169. the chapter on BIOS). Once this is done, the total amount of memory
  170. is computed and returned in the EAX register for NetWare 386 to use. 
  171.  
  172. On Compaq based ISA machines with 16 Megabytes of RAM, an additional
  173. 128 Kbytes of RAM will be made available to NetWare.
  174.  
  175. On Compaq EISA machines with more than 16 Megabytes of RAM, the
  176. following memory is made available:
  177.  
  178.     o 14,976 Kbytes (100000h to F9FFFFh) Extended memory
  179.     o 256 Kbytes    (FA0000h to FDFFFFh) BIM area
  180.     o 128 Kbytes    (FE0000h to FFFFFFh) Write protectable RAM area
  181.     o n Kbytes    (1000000h to xxxxxxxh) Super Extended memory
  182.     o 384 Kbytes    (excess memory from ROM space, A0000h to FFFFFh)
  183.  
  184. Note: On EISA systems with 256 Megabytes of RAM, the 384 Kbytes of RAM
  185. from the ROM space cannot be re-claimed as there is not enough
  186. address space to accomadate it. 
  187.  
  188. As an example: 
  189.  
  190. On a 32 Megabyte Compaq SystemPro there would be 32,128 Kbytes of
  191. Extended RAM available, which is broken down as follows:
  192.  
  193.     o 14,976 Kbytes (100000h to F9FFFFh)
  194.     o 256 Kbytes    (FA0000h to FDFFFFh)
  195.     o 128 Kbytes    (FE0000h to FFFFFFh)
  196.     o 16,384 Kbytes (1000000h to 1FFFFFFh)
  197.     o 384 Kbytes    (2000000h to 205FFFFh)
  198. Total:    32,128 Kbytes (31.375 Megabytes)
  199.  
  200. DOS memory:    640 Kbytes    (0.675 Megabytes)
  201. Extended:    32,128 Kbytes    (31.375 Megabytes)
  202.  
  203. Total RAM:    32,768 Kbytes    (32.0 Megabytes)
  204.  
  205.  
  206.  
  207. COMMAND LINE OPTIONS:
  208.  
  209. There are a few optional command line parameters.  The exact command
  210. line syntax of CPQ16MB is:
  211.  
  212.      cpq16mb [/f] [/m[x|d]#] [/sd|e] [/r] [/h|?]
  213.  
  214. Where the command line parameters are as follows:
  215.  
  216.     /f --    Force the program to be loaded even if it has already been
  217.         loaded or if BIM is being used.  This is useful when the
  218.         status of either of these two is incorrectly determined.
  219.  
  220.         Note:    Forcing the program to load when BIM memory usage
  221.             has been detected can be very dangerous. 
  222.             Using programs that use BIM memory or any
  223.             other part of Extended memory and NetWare 386 at
  224.             the same time will probably cause your system
  225.             to crash.
  226.  
  227.  
  228.     /m --    Manually set the amount of memory to be made available.
  229.         # -- (required) the amount of memory in Kbytes.
  230.         x -- (optional, Default) specifies the number is in HEX
  231.         d -- (optional) specifies the number is in DECIMAL
  232.  
  233.  
  234.     /s --    Used to control the disabling of the shadow ROM.
  235.         This does not affect the computation of available
  236.         memory (i.e. the write protected memory IS counted
  237.         as available RAM).
  238.         d -- disable shadow ROM (Default)
  239.         e -- Leave shadow ROM enabled.
  240.              (This option prevents the NetWare 386 server
  241.              from initializing and operating properly.)
  242.  
  243.     Note:    /se will not re-enable the shadow ROM after it has
  244.         been disabled.
  245.  
  246.  
  247.     /r --    Report memory information.
  248.         This is useful to see how much memory NetWare 386
  249.         version 3.0 will be 'given' when it does a memory
  250.         query.  This will report what Int 15h, Fcn 88h will
  251.         report and it will also display what is stored in the
  252.         CMOS RAM area.  The CMOS RAM area contains the amount
  253.         of memory tested good during the Power On Self Test
  254.         (POST).  Both of these numbers are in Kbytes.
  255.  
  256.         Also, if the system is EISA based, this option will
  257.         display all 'SYSTEM' memory stored in the EISA
  258.         configuration area.  
  259.  
  260.  
  261.     /h --    Help screen.
  262.     /? --    Help screen.
  263.     
  264.